import {Fortune} from "../../types.ts";
import Row from "./Row.tsx";

interface RightProps {
    fortune?: Fortune
}

function Right({fortune}: RightProps) {
    return (
        <div className="right">
            <Row title="爱情" content={fortune?.love}/>
            <Row title="工作" content={fortune?.work}/>
            <Row title="财富" content={fortune?.money}/>
        </div>
    )
}

export default Right;